package hello

import (
	"github.com/gin-gonic/gin"
)

var HelloController = newHelloController()

func newHelloController() *helloController {
	return &helloController{}
}

type helloController struct {
}

// Hello is a demonstration route handler for output "Hello World!".
func (c *helloController) Hello(ctx *gin.Context) {
	ctx.Writer.WriteString("HelloWorld")
}
